-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Efficient implementation of expect
for AbstractTTN
#129
Conversation
I'll fix keyword argument signature that makes the solver_tests fail. |
If tests pass this is ready for review. |
Looks good, thanks! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #129 +/- ##
==========================================
- Coverage 72.90% 72.73% -0.17%
==========================================
Files 71 68 -3
Lines 4097 3947 -150
==========================================
- Hits 2987 2871 -116
+ Misses 1110 1076 -34 ☔ View full report in Codecov by Sentry. |
This PR addresses #128 and adds an implementation of expect that should allow evaluation of local observables at all sites in a
TTN
at linear cost in the number of vertices in theTTN
.Basic tests have been added:
ITensors.expect
evaluated on the output ofrandom_mps
converted toITensors.MPS
, as well as verifying theSz
comb_tree
.Open issues:
svd_ttn
for convertingOpSum
toTTN
.